package com.cheer.ba.model;

import com.cheer.ba.tag.Tag;
import com.cheer.ba.utils.StringUtils;

import java.io.Serializable;

/**
 * 动态列表标签
 * Created by Hq on 2017/7/7.
 */
public class TagModel extends Tag implements Serializable {

    public String createTime;
    //标签名称
    public String tagName;
    //标签状态 1启用
    public String tagStatus;
    //标签类型 1系统2用户
    public String tagType;
    //标签唯一标识
    public String uid;
    //颜色
    public String tagColor;
    //logo
    public String tagLogo;
    //是否选中
    private boolean is_choosed;

    public String getUid() {
        if (StringUtils.isEmpty(uid)) {
            return "0";
        }
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public boolean is_choosed() {
        return is_choosed;
    }

    public void setIs_choosed(boolean is_choosed) {
        this.is_choosed = is_choosed;
    }
}
